Skip Headers
Oracle® Enterprise Manager Command Line Interface
12c Release 1 (12.1.0.3)

Part Number E17786-08
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

1 EM CLI Overview and Concepts

This chapter provides the following topic discussions:

Overview

The Enterprise Manager Command Line Interface (EM CLI) enables users to access Enterprise Manager functionality through a command-line interface or scripts. It is accessible through classic programming language constructs, enabling tasks to be created and run either from the command-line or programatically. EM CLI enables you to access Enterprise Manager Cloud Control functionality from text-based consoles (shells and command-line windows) for a variety of operating systems.

EM CLI is fully integrated with Enterprise Manager's security and user administration functions, enabling you to carry out operations using EM CLI with the same security and confidentiality as the Enterprise Manager Cloud Control console. For example, you can only see and operate on targets for which you are authorized.

Examples of EM CLI tasks you can accomplish are as follows:

EM CLI Concepts

Verbs

A verb is a task or action in the form of a user command, which expose Enterprise Manager functionality. Some verbs can include one or more parameters, which are arguments to the user command. Some of the parameters are required, and some are optional.

For instance, in the following example of the create_group verb syntax, only the -name parameter is required. The other parameters are optional.

emcli create_group
        -name="name"
        [-type=<group>]
        [-add_targets="name1:type1;name2:type2;..."]...
        [-is_propagating="true/false"

Modes

EM CLI offers Standard, Interactive, and Script modes.

For usage information for the Interactive and Script modes, see Chapter 3, "Using EM CLI".

Installable EM CLI Kits

EM CLI provides two installable kits:

EM CLI Architecture

Figure 1-1 shows the high-level architecture of EM CLI.

Figure 1-1 EM CLI Architecture

Shows EM CLI architecture and operational flow.

EM CLI implements client-server architecture, in which EM CLI is the client, and Oracle Management Services (OMS) is the server.

A typical verb may take zero or more arguments as input. The EM CLI client passes the input to OMS for processing. The EM CLI client connects to OMS and establishes a user session, which is used across verb executions until a logout is initiated.

EM CLI Installation

EM CLI consists of two components used to access the Enterprise Manager framework functionality:

You can download the EM CLI client on any system within your managed network. The EM CLI client is a command-line program (Java-based) that sends EM CLI verbs to a specific Oracle Management Service (OMS). In some respects, the EM CLI client functions as a command-line equivalent of an Enterprise Manager Cloud Control console. The EM CLI OMS is automatically installed with the OMS and serves as the communication conduit between the EM CLI client and the OMS.

For instructions about setting up and running EM CLI, see Chapter 2, "Downloading and Deploying EM CLI".